# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='HasGroup',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('mans', models.TextField(blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='Man',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=100, blank=True)),
                ('in_groups', models.CharField(max_length=500, blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='Record',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=100, blank=True)),
                ('birthday', models.DateField(blank=True)),
                ('groups', models.CharField(max_length=500, blank=True)),
                ('detail', models.TextField(blank=True)),
                ('owner', models.ForeignKey(to='share.Man', blank=True)),
            ],
        ),
        migrations.AddField(
            model_name='hasgroup',
            name='owner',
            field=models.ForeignKey(to='share.Man', blank=True),
        ),
    ]
